package smcms.service.order.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import smcms.service.order.entity.OrderReq;
import smcms.service.order.entity.OrderResp;
import smcms.service.order.entity.ProductResp;

import java.util.List;

@Mapper
public interface OrderMapper {
    void insertOrder(OrderReq req);

    void updateOrderInfo(OrderReq req);

    List<OrderResp> queryOrderList(OrderReq req);

    void deleteOrderByIds(@Param("orderIds") List<String> req);

    List<OrderResp> queryOrderByIds(@Param("cloudId")String cloudId,@Param("ids") List<String> ids);

    void addOrderByBatch(@Param("list") List<OrderReq> list);

}
